package com.nguc.ngucpractice.service;

import com.nguc.ngucpractice.common.entity.Result;
import com.nguc.ngucpractice.pojo.Product;

public interface ProductService {

    Result findProducts(Integer pageNum, Integer pageSize);

    Result updateStatus(Integer productId, Integer status) throws Exception;

    Result addProduct(Product product) throws Exception;

    Result updateProduct(Product product) throws Exception;
}
